package com.etone.smartAudit.vo.email;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.io.Serializable;
import java.util.Date;

/**
 * @author: sovy
 * @date: 2020/10/9
 * @description:
 */
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
@Data
@ApiModel(value = "邮件记录")
public class EmailRecordVO implements Serializable {

    @ApiModelProperty("主题")
    private String subject;

    @ApiModelProperty("收件人")
    private String to;

    @ApiModelProperty("发送时间")
    private Date createTime;

    @ApiModelProperty("是否有附件")
    private Boolean hasFile;

    @ApiModelProperty("状态")
    private Boolean isSuccess;
}
